/* =================================================================
    CSS RESET
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}



/* =====================================================================
    Begin App Styles
*/

* {
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
    -webkit-user-select: text;                  /* prevent copy paste, to allow, change 'none' to 'text' */
}

body {
    background-color:#E4E4E4;
    background-attachment:fixed;
    font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif;
    font-size:20px;
    height:100%;
    margin:0px;
    padding:0px;
    text-transform:uppercase;
    width:100%;
}

/* Portrait layout (default) */
.app {
    /*background:url(../img/logo.png) no-repeat center top; /* 170px x 200px */
}

/* Landscape layout (with min-width) */
@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) {
    .app {
        margin: 0 auto;
    }
}

.header_bar {
    border-top: 2px solid #555;
    padding: 10px 0;
    text-align:center;
    background: #232323;
    color: #EEEEEE;
    -webkit-box-shadow: 0px 2px 7px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    0px 2px 7px rgba(50, 50, 50, 0.75);
    box-shadow:         0px 2px 7px rgba(50, 50, 50, 0.75);
    margin-bottom: 30px;
    position: fixed;
        top: 0;
    width: 100%;
}

h1 {
    font-size:30px;
    font-weight: bold;
    overflow:visible;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #555;
}

h2 {
    font-weight: bold;
    font-size: 26px;
    margin-bottom: 40px;
}

.event {
    border-radius: 4px;
    -webkit-border-radius: 4px;
    color: #FFFFFF;
    font-size: 12px;
    margin: 10px auto;
    padding: 15px 0px;
    width: 95%;
    text-align: center;
    font-weight: bold;
}

.event.listening {
    background-color:#333333;
    display:block;
    margin-bottom: 0;
}

.event.received {
    background-color:#4B946A;
    display:none;
    margin-bottom: 0;
}

@keyframes fade {
    from { opacity: 1.0; }
    50% { opacity: 0.4; }
    to { opacity: 1.0; }
}
 
@-webkit-keyframes fade {
    from { opacity: 1.0; }
    50% { opacity: 0.4; }
    to { opacity: 1.0; }
}
 
.blink {
    animation:fade 3000ms infinite;
    -webkit-animation:fade 3000ms infinite;
}

.removeTop {
    margin-top: 25px !important;
}

.menu_button {
    width: 100%;
    font-size: 35px;
    padding: 70px 0;
    background: #CDCDCD;
    display: inline-block;
    border-radius: 3px;
    border: 1px solid #232323;
    text-decoration: none;
    color: #232323;
    font-weight: bold;
}

.menu_button.green {
    background: #55AE3A;
    color: #EEEEEE;
}

.menu_button.green:active {
    background: #42882D;
}

.menu_button.blue {
    background: #3A55AE;
    color: #EEEEEE;
}

.menu_button.blue:active {
    background: #2D4288;
}

.link_container {
    width: 95%;
    margin: 125px auto 0 auto;
}

.link_container ul li {
    margin: 15px 0;
    text-align: center;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 26px;
}

input {
    padding: 10px;
    font-size: 26px;
    text-align: center;
    color: #232323;
    width: 95%;
    margin-bottom: 35px;
}

textarea {
    width: 95%;
    padding: 10px;
    min-height: 100px;
    margin-bottom: 35px
}